class JYZOrderModelEntity {
  List<JYZOrderModelData> data;
  int code;
  String msg;

  JYZOrderModelEntity({this.data, this.code, this.msg});

  JYZOrderModelEntity.fromJson(Map<String, dynamic> json) {
    if (json['data']['result'] != null) {
      data = new List<JYZOrderModelData>();
      (json['data']['result'] as List).forEach((v) {
        data.add(new JYZOrderModelData.fromJson(v));
      });
    }
    code = json['code'];
    msg = json['msg'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.data != null) {
      data['data']['result'] = this.data.map((v) => v.toJson()).toList();
    }
    data['code'] = this.code;
    data['msg'] = this.msg;
    return data;
  }
}

class JYZOrderModelData {
  String gaslogosmall;
  String gasName;
  String oilNo;
  String oilname;
  String amountPay;
  String payTime;
  String orderStatusName;
  JYZOrderModelData(
      {this.gaslogosmall,
      this.gasName,
      this.oilNo,
      this.oilname,
      this.amountPay,
      this.payTime,
      this.orderStatusName});
  JYZOrderModelData.fromJson(Map<String, dynamic> json) {
    gaslogosmall = json['gaslogosmall'];
    gasName = json['gasName'];
    oilNo = json['oilNo'];
    oilname = json['oilname'];
    amountPay = json['amountPay'];
    payTime = json['payTime'];
    orderStatusName = json['orderStatusName'];
  }
  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['gaslogosmall'] = this.gaslogosmall;
    data['gasName'] = this.gasName;
    data['oilNo'] = this.oilNo;
    data['oilname'] = this.oilname;
    data['amountPay'] = this.amountPay;
    data['payTime'] = this.payTime;
    data['orderStatusName'] = this.orderStatusName;
    return data;
  }
}
